package com.changzhi.service;

import com.changzhi.ldyl.model.UserGift;
import com.changzhi.ldyl.model.dto.NewYearDto;
import com.changzhi.ldyl.model.vo.NewPrizeVo;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @author: 小落
 * @date: 2020年11月16日
 */
public interface NewYearService {

	/**
	 * 处理mq礼物数据业务逻辑
	 * @param userGift
	 */
	void doMqDataByUserGift(UserGift userGift);

	/**
	 * 成功订单
	 * @param userId
	 */
	void doMqDataByOrderSuccess(String userId);

	/**
	 * 卡牌列表
	 * @param newYearDto
	 * @return
	 */
	Map<String, Object> cardList(NewYearDto newYearDto);

	/**
	 * 翻牌
	 * @param newYearDto
	 * @return
	 */
	NewPrizeVo openCard(NewYearDto newYearDto);


	/**
	 * 余额
	 * @param userId
	 * @return
	 */
	Map<String, Object> balance(String userId);

	/**
	 * 兑换奖品列表
	 * @param newYearDto
	 * @return
	 */
	List<NewPrizeVo> prizeList(NewYearDto newYearDto);

	/**
	 * 兑换奖品
	 * @param newYearDto
	 * @return
	 */
	NewPrizeVo exchangePrize(NewYearDto newYearDto);

	/**
	 * 兑换火苗
	 * @param newYearDto
	 * @return
	 */
	void exchangeFlame(NewYearDto newYearDto);

	/**
	 * 领取火苗
	 * @param userId
	 */
	void receiveFlame(String userId);

	/**
	 * 一键全翻
	 * @param newYearDto
	 * @return
	 */
	Map<String, Object> openCardByLevel(NewYearDto newYearDto);
}
